#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
int main()
{
	int x, y;
	printf("exter x:");
	scanf("%d", &x);
	if (x != 0)
	{
		if (x > 0)
			y = 1;
		else
			y = -1;
	}
	else
		y = 0;
	printf("x=%d,y=%d", x, y);
	return 0;
}